package base

import "lnzw/engine/net/marshal"

// const (
// 	SERVER_TYPE_URL      = "url"
// 	SERVER_TYPE_GATE     = "gate"
// 	SERVER_TYPE_GAME_MGR = "game_mgr"
// 	SERVER_TYPE_GAME     = "game"
// 	SERVER_TYPE_LOGIN    = "login"
// )

const DEFAULT_FIRST_DECODE_ENCODE_LEN = marshal.FirstLen_4

type IServer interface {
	Start()
	Stop()
}

var GlobalServer IServer
